package cc.taofoo.Design.BuilderModel;

import cc.taofoo.Design.BuilderModel.Compement.*;

public class WorkStationBuilder extends ComputerBuilder {
    public WorkStationBuilder() {
        computer.setType("服务器");
    }

    @Override
    void buildCPU() {
        computer.setCpu(new CPU("AMD"));
    }

    @Override
    void buildMonitor() {
        computer.setMonitor(new Monitor(""));
    }

    @Override
    void buildMemory() {
        computer.setMemory(new Memory("San Disk"));
    }

    @Override
    void buildMainBoard() {
        computer.setMainBoard(new MainBoard("AUSU"));
    }

    @Override
    void buildDisk() {
        computer.setDisk(new Disk("WD"));
    }


}
